package com;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author li
 * @since 2024/5/14
 */
@Controller
@RequestMapping("/map")
public class MappingController {

    @RequestMapping("/a")
    @ResponseBody
    public String map(@RequestParam("name") String name) {
        return name + " 你好";
    }

}
